package 通用权限检查器;

import java.util.UUID;

public class User
{
    private String name;
    private int age;
    private UUID id;
    private Permission permission;

    public Permission getPermission()
    {
        return permission;
    }

    public void setPermission(Permission permission)
    {
        this.permission = permission;
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public int getAge()
    {
        return age;
    }

    public void setAge(int age)
    {
        this.age = age;
    }

    public UUID getId()
    {
        return id;
    }

    public void setId(UUID id)
    {
        this.id = id;
    }

    User(String name, int age, UUID id,Permission permission){
        this.name=name;
        this.age=age;
        this.id=id;
        this.permission=permission;
    }
}
